package com.victualler.core.config.permission.service;

import com.victualler.core.base.service.BaseService;
import com.victualler.core.config.permission.dto.request.UserRoleSaveRequestDto;
import com.victualler.core.config.permission.entity.UserRoleDao;
import com.victualler.core.config.permission.repository.UserRoleQueryRepository;
import com.victualler.core.config.permission.repository.UserRoleRepository;


/**
 * @author: Guoshichang
 * @discription:
 */
public interface UserRoleService extends BaseService<UserRoleDao, UserRoleRepository,UserRoleQueryRepository>{

    /**
     * @author Guoshichang
     * @since 21:46 on 2018/9/9.
     * @param userRoleSaveRequestDto
     * @Function  保存角色的权限列表
     */
    public void saveRoleByUserId(UserRoleSaveRequestDto userRoleSaveRequestDto);
}
